package cn.chinaunicom.sdsi.frm.workflow.bean;

/**
 * 流程实例相关信息实体
 * 
 * @author liyh
 *
 */
public class ProcInstInfo {
	/**
	 * 流程实例ID
	 */
	private String processInstanceId;
	/**
	 * 流程实例主业务数据主键
	 */
	private String businessKey;
	/**
	 * 流程定义相关信息
	 */
	private String processDefinitionId;
	private String processDefinitionKey;
	private String processDefinitionName;

	/**
	 * 流程实例信息构造方法
	 * 
	 * @param processInstanceId
	 *            流程实例ID
	 * @param businessKey
	 *            主业务数据主键
	 * @param processDefinitionId
	 *            流程定义ID，包含版本信息
	 * @param processDefinitionKey
	 *            流程类型编码
	 * @param processDefinitionName
	 *            流程类型名称
	 */
	public ProcInstInfo(String processInstanceId, String businessKey, String processDefinitionId,
			String processDefinitionKey, String processDefinitionName) {
		this.processInstanceId = processInstanceId;
		this.businessKey = businessKey;
		this.processDefinitionId = processDefinitionId;
		this.processDefinitionKey = processDefinitionKey;
		this.processDefinitionName = processDefinitionName;
	}

	public String getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public String getBusinessKey() {
		return businessKey;
	}

	public void setBusinessKey(String businessKey) {
		this.businessKey = businessKey;
	}

	public String getProcessDefinitionId() {
		return processDefinitionId;
	}

	public void setProcessDefinitionId(String processDefinitionId) {
		this.processDefinitionId = processDefinitionId;
	}

	public String getProcessDefinitionKey() {
		return processDefinitionKey;
	}

	public void setProcessDefinitionKey(String processDefinitionKey) {
		this.processDefinitionKey = processDefinitionKey;
	}

	public String getProcessDefinitionName() {
		return processDefinitionName;
	}

	public void setProcessDefinitionName(String processDefinitionName) {
		this.processDefinitionName = processDefinitionName;
	}
}
